package com.cs.contract.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;


/**
 * @Author：zrx
 * @Package：com.cs.cscontract.domain
 * @Project：Ruoyi
 * @name：CsPayment
 * @Date：2024/11/18 19:33
 * @Filename：CsPayment
 */
public class CsPayment extends BaseEntity {
    private static final long serialVersionUID = -4507207013253632085L;
    @Excel(name = "支付约定ID")
    private Integer payId;
    @Excel(name = "合同ID")
    private Integer eid;
    @Excel(name = "款项内容")
    private Integer paycontent;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "付款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paydate;
    @Excel(name = "付款单位")
    private String payer;
    @Excel(name = "收款合同方ID")
    private Integer hid;
    @Excel(name = "收款合同方")
    private String hName;
    @Excel(name = "付款条件")
    private String payterms;
    @Excel(name = "付款金额")
    private BigDecimal payamount;
    @Excel(name = "违约责任")
    private String debty;

    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public Integer getPaycontent() {
        return paycontent;
    }

    public void setPaycontent(Integer paycontent) {
        this.paycontent = paycontent;
    }

    public Date getPaydate() {
        return paydate;
    }

    public void setPaydate(Date paydate) {
        this.paydate = paydate;
    }

    public String getPayer() {
        return payer;
    }

    public void setPayer(String payer) {
        this.payer = payer;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public String gethName() {
        return hName;
    }

    public void sethName(String hName) {
        this.hName = hName;
    }

    public String getPayterms() {
        return payterms;
    }

    public void setPayterms(String payterms) {
        this.payterms = payterms;
    }

    public BigDecimal getPayamount() {
        return payamount;
    }

    public void setPayamount(BigDecimal payamount) {
        this.payamount = payamount;
    }

    public String getDebty() {
        return debty;
    }

    public void setDebty(String debty) {
        this.debty = debty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("payId", payId)
                .append("eid", eid)
                .append("paycontent", paycontent)
                .append("paydate", paydate)
                .append("payer", payer)
                .append("hid", hid)
                .append("hName", hName)
                .append("payterms", payterms)
                .append("payamount", payamount)
                .append("debty", debty)
                .toString();
    }
}
